<div id="progress_status">
My score: <?php echo $_SESSION['score']; ?> points | My level: <?php echo $_SESSION['level_description']; ?>
</div>

<div id="play">
<h2>Let's win some points and unlock the next level!</h2>
<h2><ul>

<?php 

for ($i=0; $i<=2; $i++) {
	
	if ($_SESSION['level'] >= $i) 
		echo "<li><a href='play.php?level=".$i."'>".constant('LEVEL_' . $i)."</a></li>"; 
	else
		echo "<li>".constant('LEVEL_' . $i)."</li>";
}

?>
	
</h2>
</div>